package 单链表;

public class ListNode {
    public  int val;
    public  ListNode next;

    public ListNode(){

    }
    public ListNode(ListNode next, int val) {
        this.next = next;
        this.val = val;
    }
    public ListNode(int val) {
       this.val=val;
    }
}
